<template>
  <el-config-provider :locale="langStore.language === 'zh' ? Zh : en">
    <router-view></router-view>
  </el-config-provider>

</template>

<script setup>
import Zh from "element-plus/es/locale/lang/zh-cn";
import en from "element-plus/es/locale/lang/en"


import { useLanguage } from "@/store/language";

const langStore = useLanguage()



</script>

<style lang="scss" scoped>
body {
  margin: 0
}
</style>